<?php include(S_ROOT . '/company/header_top.php'); ?>
<body> 
    <?php include(S_ROOT . '/templates/header.php'); ?>    
    <!-- content -->  
    <!-- First Band (Image) -->
    <div id="columns">
        <div class="container">
            <?php include(S_ROOT . '/company/headerseller.php'); ?>
            <div style="height:20px; clear:both"></div>
            <div class="breadcrumb">
                <a class="lever_1" style="z-index:100" href="<?php echo base_url; ?>"><?php echo $lang['HOME']; ?></a>
                <a class="lever_2" style="z-index:99" href="<?php echo base_url; ?>product"><?php echo $lang['UR_PRO_LIST']; ?></a>
                <a class="lever_3" style="z-index:98" href="<a href="<?php echo W_ROOT . '/' . $last_word; ?>"><?php echo $company_name; ?></a>                
            </div>
            <div class="row-fluid">
                <div class="span2">
                    <?php include(S_ROOT . '/templates/sidebar-left.php'); ?>
                </div>
                <div class="span8 category">
                    <div id="content">
                        <div class="title">
                            <h1 class="category-title"><?php echo $company_name; ?></h1>                    
                        </div>
                        <div class="product-grid">
                            <?php
                            $style = mysql_query("SELECT * FROM tbl_style WHERE by_company_id='" . $seller_id . "'");
                            $colom = mysql_fetch_assoc($style);
                            $columns = $colom['columns'];
                            if ($columns == '1col') {
                                $col = 'columns/1col';
                            }
                            if ($columns == '2col_l') {
                                $col = 'columns/2col_l';
                            }
                            if ($columns == '2col_r') {
                                $col = 'columns/2col_r';
                            }
                            if ($columns == '3col') {
                                $col = 'columns/3col';
                            }
                            $p = isset($columns) ? $col : "columns/2col_l";
                            $page = $path . $p . ".php";
                            require_once($page);
                            ?> 
                        </div>
                    </div>
                </div>
                <div class="span2">
                    <?php include(S_ROOT . '/templates/sidebar-right.php'); ?>
                </div>
            </div>
        </div>
    </div>

    <div class="clear"></div>
    <?php include(S_ROOT . '/templates/footer.php'); ?>
    <!-- Included JS Files (Compressed) -->

    <!-- Initialize JS Plugins -->
    <script src="<?php echo W_ROOT; ?>/templates/javascripts/bootstrap-dropdown.js"></script>
    <script src="<?php echo W_ROOT; ?>/templates/javascripts/app.js"></script>        
</body>
</html>
<?php exit; ?>